<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Userpassward extends MY_Controller
{

    public function index()
    {
        $this->load->library('user_passward');

//        $sendData = array();
//        $sendData['enterpriseId'] = $this->lg_user['enterpriseId'];
//        $sendData['channelId'] = $this->lg_user['channelId'];
//        $sendData['userType'] = $this->lg_user['type'];
//        $sendData['uid'] = $this->lg_user['id'];
//        $sendData['password'] = $this->lg_user['password'];
//
//        //制造接口请求
//        $url = $this->user_passward->set_call_items($sendData);
//        $param = $this->user_passward->get_call_items();
//        $rs = $this->restcurl->post($url, $param);
//        if ($rs && $rs['ErrorCode'] == 0 && $rs['Success'] == 1) {
//            $this->user_passward->set_back_items($rs['CallInfo']);
//        }
//
//        $this->data['Data'] = $this->user_passward->get_back_items();
        $this->render('userpassward/index', $this->data);
    }
}